<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2017/10/27
  Time: 18:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1 align="center">修改商品</h1>
<form action="${pageContext.request.contextPath}/updateServlet" method="post">
    <table  align="center">
        <tr>
            <td><input type="hidden" name="pageNum" value="${param.pageNum}"></td>
            <td><input type="hidden" name="condition" value="${param.condition}"></td>
        </tr>
        <tr>
            <td><input type="hidden" name="pid" value="${product.pid}"></td>
        </tr>
        <tr>
            <td>商品名称:</td>
            <td><input type="text" name="pname" value="${product.pname}"></td>
        </tr>
        <tr>
            <td>商品价格:</td>
            <td><input type="number" name="shopPrice" value="${product.shopPrice}"></td>
        </tr>
        <tr>
            <td>商品介绍:</td>
            <td><textarea style="width: 120%;height: 100px;" name="pdesc">${product.pdesc}</textarea></td>
        </tr>
        <td><input type="submit" value="提交"></td>
        <td><input type="reset" value="重置"></td>
        </td>
    </table>
</form>
</body>
</html>
